<?php

#<editor-fold defaultstate="collapsed" desc="CCore::Using">
CCore::Using('socket.inc.config');
#</editor-fold>

class CCoreSocketSmtpConfig extends ACoreSocketConfigWithLoginAndPassword
{
	/**
	 * @param	string	$sHost
	 * @param	int		$iPort
	 * @param	string	$sLogin
	 * @param	string	$sPassword
	 * @param	string	$sEhloMessage
	 * @param	bool	$bIsAuth
	 * @param	int		$iConnectTimeOut
	 * @param	int		$iSocketTimeOut
	 * @return	CCoreSocketSmtpConfig
	 */
	public function __construct($sHost, $iPort, $sLogin, $sPassword,
			$sEhloMessage, $bIsAuth, $iConnectTimeOut, $iSocketTimeOut)
	{
		CCore::CheckTypes(array('$sHost', '$iPort', '$sLogin', '$sPassword',
			'$sEhloMessage', '$bIsAuth', '$iConnectTimeOut', '$iSocketTimeOut'));
				
		parent::__construct($sHost, $iPort, $sLogin, $sPassword, $iConnectTimeOut, $iSocketTimeOut);

		$this->aContainer['EhloMessage'] = $sEhloMessage;
		$this->aContainer['IsAuth'] = $bIsAuth;
	}
}